#! /bin/bash

#======================================================================
# mvn package script
# default dev profile
#
# author: geekidea
# date: 2018-12-22
#======================================================================

PROFILE=$1
if [[ -z "$PROFILE" ]]; then
    PROFILE=dev
fi
echo "The current compilation environment is [${PROFILE}]"
mvn clean package -P${PROFILE} -DskipTests
echo "[${PROFILE}] compiled successfully"
